package com.example.canvastouch2;

import android.graphics.Paint;
import android.graphics.Path;

/**
 *	Paintが同一のPathを保持するクラス 
 */
public class PathGroup {

	public Path  path;
	public Paint p;

	public PathGroup(int color, int width) {
		/**
		 * 	Pathを生成して初期化する
		 * 
		 * 	Style			STROKE
		 * 	StrokeJoin		ROUND
		 * 
		 */
		path = new Path();

		p = new Paint();
		p.setColor(color);
		p.setStrokeWidth(width);
		p.setStyle(Paint.Style.STROKE);
		p.setStrokeJoin(Paint.Join.ROUND);
	}
}
